package org.suk.dp.simpleFactory;

/**
 * Description: 操作类<br/>
 * @version V1.0  2017/6/20 11:51  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Operation {
    private double num1 = 0;
    private double num2 = 0;

    public double getNum1() {
        return num1;
    }

    public void setNum1(double num1) {
        this.num1 = num1;
    }

    public double getNum2() {
        return num2;
    }

    public void setNum2(double num2) {
        this.num2 = num2;
    }

    public double getResult(){
        return 0;
    }

    @Override
    public String toString() {
        return "Operation{" +
                "num1=" + num1 +
                ", num2=" + num2 +
                '}';
    }
}
